package com.cx.pojo;

import com.cx.common.BaseEntity;

import java.util.ArrayList;
import java.util.List;

public class BodyExample extends BaseEntity {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BodyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBodyIdIsNull() {
            addCriterion("body_id is null");
            return (Criteria) this;
        }

        public Criteria andBodyIdIsNotNull() {
            addCriterion("body_id is not null");
            return (Criteria) this;
        }

        public Criteria andBodyIdEqualTo(Integer value) {
            addCriterion("body_id =", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdNotEqualTo(Integer value) {
            addCriterion("body_id <>", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdGreaterThan(Integer value) {
            addCriterion("body_id >", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("body_id >=", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdLessThan(Integer value) {
            addCriterion("body_id <", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdLessThanOrEqualTo(Integer value) {
            addCriterion("body_id <=", value, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdIn(List<Integer> values) {
            addCriterion("body_id in", values, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdNotIn(List<Integer> values) {
            addCriterion("body_id not in", values, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdBetween(Integer value1, Integer value2) {
            addCriterion("body_id between", value1, value2, "bodyId");
            return (Criteria) this;
        }

        public Criteria andBodyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("body_id not between", value1, value2, "bodyId");
            return (Criteria) this;
        }

        public Criteria andCarLongIsNull() {
            addCriterion("car_long is null");
            return (Criteria) this;
        }

        public Criteria andCarLongIsNotNull() {
            addCriterion("car_long is not null");
            return (Criteria) this;
        }

        public Criteria andCarLongEqualTo(Integer value) {
            addCriterion("car_long =", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongNotEqualTo(Integer value) {
            addCriterion("car_long <>", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongGreaterThan(Integer value) {
            addCriterion("car_long >", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_long >=", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongLessThan(Integer value) {
            addCriterion("car_long <", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongLessThanOrEqualTo(Integer value) {
            addCriterion("car_long <=", value, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongIn(List<Integer> values) {
            addCriterion("car_long in", values, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongNotIn(List<Integer> values) {
            addCriterion("car_long not in", values, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongBetween(Integer value1, Integer value2) {
            addCriterion("car_long between", value1, value2, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarLongNotBetween(Integer value1, Integer value2) {
            addCriterion("car_long not between", value1, value2, "carLong");
            return (Criteria) this;
        }

        public Criteria andCarWidthIsNull() {
            addCriterion("car_width is null");
            return (Criteria) this;
        }

        public Criteria andCarWidthIsNotNull() {
            addCriterion("car_width is not null");
            return (Criteria) this;
        }

        public Criteria andCarWidthEqualTo(Integer value) {
            addCriterion("car_width =", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthNotEqualTo(Integer value) {
            addCriterion("car_width <>", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthGreaterThan(Integer value) {
            addCriterion("car_width >", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_width >=", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthLessThan(Integer value) {
            addCriterion("car_width <", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthLessThanOrEqualTo(Integer value) {
            addCriterion("car_width <=", value, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthIn(List<Integer> values) {
            addCriterion("car_width in", values, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthNotIn(List<Integer> values) {
            addCriterion("car_width not in", values, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthBetween(Integer value1, Integer value2) {
            addCriterion("car_width between", value1, value2, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarWidthNotBetween(Integer value1, Integer value2) {
            addCriterion("car_width not between", value1, value2, "carWidth");
            return (Criteria) this;
        }

        public Criteria andCarHeightIsNull() {
            addCriterion("car_height is null");
            return (Criteria) this;
        }

        public Criteria andCarHeightIsNotNull() {
            addCriterion("car_height is not null");
            return (Criteria) this;
        }

        public Criteria andCarHeightEqualTo(Integer value) {
            addCriterion("car_height =", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightNotEqualTo(Integer value) {
            addCriterion("car_height <>", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightGreaterThan(Integer value) {
            addCriterion("car_height >", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_height >=", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightLessThan(Integer value) {
            addCriterion("car_height <", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightLessThanOrEqualTo(Integer value) {
            addCriterion("car_height <=", value, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightIn(List<Integer> values) {
            addCriterion("car_height in", values, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightNotIn(List<Integer> values) {
            addCriterion("car_height not in", values, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightBetween(Integer value1, Integer value2) {
            addCriterion("car_height between", value1, value2, "carHeight");
            return (Criteria) this;
        }

        public Criteria andCarHeightNotBetween(Integer value1, Integer value2) {
            addCriterion("car_height not between", value1, value2, "carHeight");
            return (Criteria) this;
        }

        public Criteria andWheelbaseIsNull() {
            addCriterion("wheelbase is null");
            return (Criteria) this;
        }

        public Criteria andWheelbaseIsNotNull() {
            addCriterion("wheelbase is not null");
            return (Criteria) this;
        }

        public Criteria andWheelbaseEqualTo(Integer value) {
            addCriterion("wheelbase =", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseNotEqualTo(Integer value) {
            addCriterion("wheelbase <>", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseGreaterThan(Integer value) {
            addCriterion("wheelbase >", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseGreaterThanOrEqualTo(Integer value) {
            addCriterion("wheelbase >=", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseLessThan(Integer value) {
            addCriterion("wheelbase <", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseLessThanOrEqualTo(Integer value) {
            addCriterion("wheelbase <=", value, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseIn(List<Integer> values) {
            addCriterion("wheelbase in", values, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseNotIn(List<Integer> values) {
            addCriterion("wheelbase not in", values, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseBetween(Integer value1, Integer value2) {
            addCriterion("wheelbase between", value1, value2, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andWheelbaseNotBetween(Integer value1, Integer value2) {
            addCriterion("wheelbase not between", value1, value2, "wheelbase");
            return (Criteria) this;
        }

        public Criteria andSmallspaceIsNull() {
            addCriterion("smallspace is null");
            return (Criteria) this;
        }

        public Criteria andSmallspaceIsNotNull() {
            addCriterion("smallspace is not null");
            return (Criteria) this;
        }

        public Criteria andSmallspaceEqualTo(String value) {
            addCriterion("smallspace =", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceNotEqualTo(String value) {
            addCriterion("smallspace <>", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceGreaterThan(String value) {
            addCriterion("smallspace >", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceGreaterThanOrEqualTo(String value) {
            addCriterion("smallspace >=", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceLessThan(String value) {
            addCriterion("smallspace <", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceLessThanOrEqualTo(String value) {
            addCriterion("smallspace <=", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceLike(String value) {
            addCriterion("smallspace like", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceNotLike(String value) {
            addCriterion("smallspace not like", value, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceIn(List<String> values) {
            addCriterion("smallspace in", values, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceNotIn(List<String> values) {
            addCriterion("smallspace not in", values, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceBetween(String value1, String value2) {
            addCriterion("smallspace between", value1, value2, "smallspace");
            return (Criteria) this;
        }

        public Criteria andSmallspaceNotBetween(String value1, String value2) {
            addCriterion("smallspace not between", value1, value2, "smallspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceIsNull() {
            addCriterion("frontspace is null");
            return (Criteria) this;
        }

        public Criteria andFrontspaceIsNotNull() {
            addCriterion("frontspace is not null");
            return (Criteria) this;
        }

        public Criteria andFrontspaceEqualTo(String value) {
            addCriterion("frontspace =", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceNotEqualTo(String value) {
            addCriterion("frontspace <>", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceGreaterThan(String value) {
            addCriterion("frontspace >", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceGreaterThanOrEqualTo(String value) {
            addCriterion("frontspace >=", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceLessThan(String value) {
            addCriterion("frontspace <", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceLessThanOrEqualTo(String value) {
            addCriterion("frontspace <=", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceLike(String value) {
            addCriterion("frontspace like", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceNotLike(String value) {
            addCriterion("frontspace not like", value, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceIn(List<String> values) {
            addCriterion("frontspace in", values, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceNotIn(List<String> values) {
            addCriterion("frontspace not in", values, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceBetween(String value1, String value2) {
            addCriterion("frontspace between", value1, value2, "frontspace");
            return (Criteria) this;
        }

        public Criteria andFrontspaceNotBetween(String value1, String value2) {
            addCriterion("frontspace not between", value1, value2, "frontspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceIsNull() {
            addCriterion("rearspace is null");
            return (Criteria) this;
        }

        public Criteria andRearspaceIsNotNull() {
            addCriterion("rearspace is not null");
            return (Criteria) this;
        }

        public Criteria andRearspaceEqualTo(String value) {
            addCriterion("rearspace =", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceNotEqualTo(String value) {
            addCriterion("rearspace <>", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceGreaterThan(String value) {
            addCriterion("rearspace >", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceGreaterThanOrEqualTo(String value) {
            addCriterion("rearspace >=", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceLessThan(String value) {
            addCriterion("rearspace <", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceLessThanOrEqualTo(String value) {
            addCriterion("rearspace <=", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceLike(String value) {
            addCriterion("rearspace like", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceNotLike(String value) {
            addCriterion("rearspace not like", value, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceIn(List<String> values) {
            addCriterion("rearspace in", values, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceNotIn(List<String> values) {
            addCriterion("rearspace not in", values, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceBetween(String value1, String value2) {
            addCriterion("rearspace between", value1, value2, "rearspace");
            return (Criteria) this;
        }

        public Criteria andRearspaceNotBetween(String value1, String value2) {
            addCriterion("rearspace not between", value1, value2, "rearspace");
            return (Criteria) this;
        }

        public Criteria andStructureIsNull() {
            addCriterion("structure is null");
            return (Criteria) this;
        }

        public Criteria andStructureIsNotNull() {
            addCriterion("structure is not null");
            return (Criteria) this;
        }

        public Criteria andStructureEqualTo(String value) {
            addCriterion("structure =", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureNotEqualTo(String value) {
            addCriterion("structure <>", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureGreaterThan(String value) {
            addCriterion("structure >", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureGreaterThanOrEqualTo(String value) {
            addCriterion("structure >=", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureLessThan(String value) {
            addCriterion("structure <", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureLessThanOrEqualTo(String value) {
            addCriterion("structure <=", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureLike(String value) {
            addCriterion("structure like", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureNotLike(String value) {
            addCriterion("structure not like", value, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureIn(List<String> values) {
            addCriterion("structure in", values, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureNotIn(List<String> values) {
            addCriterion("structure not in", values, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureBetween(String value1, String value2) {
            addCriterion("structure between", value1, value2, "structure");
            return (Criteria) this;
        }

        public Criteria andStructureNotBetween(String value1, String value2) {
            addCriterion("structure not between", value1, value2, "structure");
            return (Criteria) this;
        }

        public Criteria andDoorIsNull() {
            addCriterion("door is null");
            return (Criteria) this;
        }

        public Criteria andDoorIsNotNull() {
            addCriterion("door is not null");
            return (Criteria) this;
        }

        public Criteria andDoorEqualTo(Integer value) {
            addCriterion("door =", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorNotEqualTo(Integer value) {
            addCriterion("door <>", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorGreaterThan(Integer value) {
            addCriterion("door >", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorGreaterThanOrEqualTo(Integer value) {
            addCriterion("door >=", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorLessThan(Integer value) {
            addCriterion("door <", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorLessThanOrEqualTo(Integer value) {
            addCriterion("door <=", value, "door");
            return (Criteria) this;
        }

        public Criteria andDoorIn(List<Integer> values) {
            addCriterion("door in", values, "door");
            return (Criteria) this;
        }

        public Criteria andDoorNotIn(List<Integer> values) {
            addCriterion("door not in", values, "door");
            return (Criteria) this;
        }

        public Criteria andDoorBetween(Integer value1, Integer value2) {
            addCriterion("door between", value1, value2, "door");
            return (Criteria) this;
        }

        public Criteria andDoorNotBetween(Integer value1, Integer value2) {
            addCriterion("door not between", value1, value2, "door");
            return (Criteria) this;
        }

        public Criteria andSeatIsNull() {
            addCriterion("seat is null");
            return (Criteria) this;
        }

        public Criteria andSeatIsNotNull() {
            addCriterion("seat is not null");
            return (Criteria) this;
        }

        public Criteria andSeatEqualTo(Integer value) {
            addCriterion("seat =", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatNotEqualTo(Integer value) {
            addCriterion("seat <>", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatGreaterThan(Integer value) {
            addCriterion("seat >", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatGreaterThanOrEqualTo(Integer value) {
            addCriterion("seat >=", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatLessThan(Integer value) {
            addCriterion("seat <", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatLessThanOrEqualTo(Integer value) {
            addCriterion("seat <=", value, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatIn(List<Integer> values) {
            addCriterion("seat in", values, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatNotIn(List<Integer> values) {
            addCriterion("seat not in", values, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatBetween(Integer value1, Integer value2) {
            addCriterion("seat between", value1, value2, "seat");
            return (Criteria) this;
        }

        public Criteria andSeatNotBetween(Integer value1, Integer value2) {
            addCriterion("seat not between", value1, value2, "seat");
            return (Criteria) this;
        }

        public Criteria andOilspaceIsNull() {
            addCriterion("oilspace is null");
            return (Criteria) this;
        }

        public Criteria andOilspaceIsNotNull() {
            addCriterion("oilspace is not null");
            return (Criteria) this;
        }

        public Criteria andOilspaceEqualTo(String value) {
            addCriterion("oilspace =", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceNotEqualTo(String value) {
            addCriterion("oilspace <>", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceGreaterThan(String value) {
            addCriterion("oilspace >", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceGreaterThanOrEqualTo(String value) {
            addCriterion("oilspace >=", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceLessThan(String value) {
            addCriterion("oilspace <", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceLessThanOrEqualTo(String value) {
            addCriterion("oilspace <=", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceLike(String value) {
            addCriterion("oilspace like", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceNotLike(String value) {
            addCriterion("oilspace not like", value, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceIn(List<String> values) {
            addCriterion("oilspace in", values, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceNotIn(List<String> values) {
            addCriterion("oilspace not in", values, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceBetween(String value1, String value2) {
            addCriterion("oilspace between", value1, value2, "oilspace");
            return (Criteria) this;
        }

        public Criteria andOilspaceNotBetween(String value1, String value2) {
            addCriterion("oilspace not between", value1, value2, "oilspace");
            return (Criteria) this;
        }

        public Criteria andMinisizeIsNull() {
            addCriterion("minisize is null");
            return (Criteria) this;
        }

        public Criteria andMinisizeIsNotNull() {
            addCriterion("minisize is not null");
            return (Criteria) this;
        }

        public Criteria andMinisizeEqualTo(String value) {
            addCriterion("minisize =", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeNotEqualTo(String value) {
            addCriterion("minisize <>", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeGreaterThan(String value) {
            addCriterion("minisize >", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeGreaterThanOrEqualTo(String value) {
            addCriterion("minisize >=", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeLessThan(String value) {
            addCriterion("minisize <", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeLessThanOrEqualTo(String value) {
            addCriterion("minisize <=", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeLike(String value) {
            addCriterion("minisize like", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeNotLike(String value) {
            addCriterion("minisize not like", value, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeIn(List<String> values) {
            addCriterion("minisize in", values, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeNotIn(List<String> values) {
            addCriterion("minisize not in", values, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeBetween(String value1, String value2) {
            addCriterion("minisize between", value1, value2, "minisize");
            return (Criteria) this;
        }

        public Criteria andMinisizeNotBetween(String value1, String value2) {
            addCriterion("minisize not between", value1, value2, "minisize");
            return (Criteria) this;
        }

        public Criteria andBigsizeIsNull() {
            addCriterion("bigsize is null");
            return (Criteria) this;
        }

        public Criteria andBigsizeIsNotNull() {
            addCriterion("bigsize is not null");
            return (Criteria) this;
        }

        public Criteria andBigsizeEqualTo(String value) {
            addCriterion("bigsize =", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeNotEqualTo(String value) {
            addCriterion("bigsize <>", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeGreaterThan(String value) {
            addCriterion("bigsize >", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeGreaterThanOrEqualTo(String value) {
            addCriterion("bigsize >=", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeLessThan(String value) {
            addCriterion("bigsize <", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeLessThanOrEqualTo(String value) {
            addCriterion("bigsize <=", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeLike(String value) {
            addCriterion("bigsize like", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeNotLike(String value) {
            addCriterion("bigsize not like", value, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeIn(List<String> values) {
            addCriterion("bigsize in", values, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeNotIn(List<String> values) {
            addCriterion("bigsize not in", values, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeBetween(String value1, String value2) {
            addCriterion("bigsize between", value1, value2, "bigsize");
            return (Criteria) this;
        }

        public Criteria andBigsizeNotBetween(String value1, String value2) {
            addCriterion("bigsize not between", value1, value2, "bigsize");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}